#ifndef PROJECTILE_H
#define PROJECTILE_H

#include "Entity.h"

class Projectile : public Entity
{
public:
	Projectile(const EEntityType& entity_type);
	virtual ~Projectile(void);

	virtual void Init(SceneObject* scene_object, Grid* grid);
	virtual void Update(float deltatime);
	
	void SetDirection(Vector3 direction);
	void SetSpeed(float speed);
	void SetLifeTime(float life_time);

protected:
	Vector3 m_direction;
	float m_speed;
	float m_life_time;
};

#endif //PROJECTILE_H